package com.fengmi.controller;


import com.fengmi.comm.ResultVO;
import com.fengmi.order.dto.OrderDTO;
import com.fengmi.service.IOmsOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 订单表 前端控制器
 * </p>
 *
 * @author sujie
 * @since 2022-12-01
 */
@RestController
@RequestMapping("/order/oms-order")
public class OmsOrderController {
    @Autowired
    private IOmsOrderService iOmsOrderService;

     @RequestMapping("saveOrder")
    public ResultVO saveOrder(@RequestBody  OrderDTO orderDTO){

        return  iOmsOrderService.saveOrder(orderDTO);
    }

}
